package com.ruoyi.project.search.viewoutfinish.mapper;

import java.util.List;
import com.ruoyi.project.search.viewoutfinish.domain.ViewOutFinish;

/**
 * 出库单据历史Mapper接口
 * 
 * @author wld
 * @date 2023-04-12
 */
public interface ViewOutFinishMapper 
{
    /**
     * 查询出库单据历史
     * 
     * @param stockoutId 出库单据历史主键
     * @return 出库单据历史
     */
    public ViewOutFinish selectViewOutFinishByStockoutId(String stockoutId);

    /**
     * 查询出库单据历史列表
     * 
     * @param viewOutFinish 出库单据历史
     * @return 出库单据历史集合
     */
    public List<ViewOutFinish> selectViewOutFinishList(ViewOutFinish viewOutFinish);

    /**
     * 新增出库单据历史
     * 
     * @param viewOutFinish 出库单据历史
     * @return 结果
     */
    public int insertViewOutFinish(ViewOutFinish viewOutFinish);

    /**
     * 修改出库单据历史
     * 
     * @param viewOutFinish 出库单据历史
     * @return 结果
     */
    public int updateViewOutFinish(ViewOutFinish viewOutFinish);

    /**
     * 删除出库单据历史
     * 
     * @param stockoutId 出库单据历史主键
     * @return 结果
     */
    public int deleteViewOutFinishByStockoutId(String stockoutId);

    /**
     * 批量删除出库单据历史
     * 
     * @param stockoutIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteViewOutFinishByStockoutIds(String[] stockoutIds);
}
